//在ts中引入样式
import "./style/index.less";
// import Food from "./modules/Food";
// import Score from "./modules/Score";
// import Snake from "./modules/Snake";
import GameControl from "./modules/GameControl";

// const score = new Score(100, 2); //最高等级为100 每两分升一个等级
// for (let i = 0; i < 100; i++) {
//   score.addScore();
// }
// const food = new Food();
// console.log(food.X, food.Y);
// food.change();
const gameC = new GameControl();
// setInterval(() => {
//   console.log(gameC.direction);
// }, 1000);
